import MdEditor from "@/components/MdEditor";

const Monitor = () => {
  return (
    <MdEditor
      style={{ height: 500 }}
      renderHtml={(html: any) => {
        return <div dangerouslySetInnerHTML={{ __html: html }}></div>;
      }}
      onChange={({ html, text }: any) => {
        console.log("html", html);
        console.log("text", text);
      }}
    />
  );
};

export default Monitor;
